package com.yanqu.road.entity.activity;

import com.yanqu.road.entity.DataObject;

import java.util.Objects;

public class TurntableLotteryRecord extends DataObject {

    private String recordUid;

    private long userId;

    private String nickName;

    private int goodsId;

    private int count;

    private long recordTime;

    public String getRecordUid() {
        return recordUid;
    }

    public void setRecordUid(String recordUid) {
        if(!Objects.equals(this.recordUid, recordUid)) {
            this.recordUid = recordUid;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        if(!Objects.equals(this.nickName, nickName)) {
            this.nickName = nickName;
            setUpdateOption();
        }
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        if(this.goodsId != goodsId) {
            this.goodsId = goodsId;
            setUpdateOption();
        }
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        if(this.count != count) {
            this.count = count;
            setUpdateOption();
        }
    }

    public long getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(long recordTime) {
        if(this.recordTime != recordTime) {
            this.recordTime = recordTime;
            setUpdateOption();
        }
    }
}
